package cn.wolfcode.wolf2w.domain;

import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.ArrayList;
import java.util.List;

@Getter
@Setter
@Document("scenicspot_introduction")
public class ScenicSpotIntroduction {

    @Id
    private String id;
    //景点名
    private String name;
    //缩写
    private String sn;
    //图片路径
    private String imgId;
    //简介
    private List<String> introduction = new ArrayList<>();
    //
    private String tel;
    //网址
    private String url;
    //大概参观时间
    private String time;
    //出行方式
    private List<String> travels = new ArrayList<>();
    //门票分类
    private List<String> classifications = new ArrayList<>();
    //开放时间
    private List<String> openTime = new ArrayList<>();
    //景点主键id
    private String scenicId;
}
